var ScrambledEggs;
(function (ScrambledEggs) {
    (function (Utility) {
        var QueryString = (function () {
            function QueryString() { }
            QueryString.qs = (function (a) {
                if(a == "") {
                    return {
                    };
                }
                var b = {
                };
                for(var i = 0; i < a.length; ++i) {
                    var p = a[i].split('=');
                    if(p.length != 2) {
                        continue;
                    }
                    b[p[0]] = decodeURIComponent(p[1].replace(/\+/g, " "));
                }
                return b;
            })(window.location.search.substr(1).split('&'));
            QueryString.Find = function Find(parameter) {
                return this.qs[parameter];
            };
            return QueryString;
        })();
        Utility.QueryString = QueryString;        
    })(ScrambledEggs.Utility || (ScrambledEggs.Utility = {}));
    var Utility = ScrambledEggs.Utility;
})(ScrambledEggs || (ScrambledEggs = {}));
